anonFunInActor is package {
 AA is actor {
   fn1(x, y, fn) is fn(x, y);
   act1(x, act) do act(x);
 }
 main() do {
   c is 3;
   x is query AA's fn1 with fn1(1, 1, (function(a, b) is a + b*c));
   request AA's act1 to act1("hello", let{ proc(cx) do logMsg(info, cx)} in proc);
   assert x = 4;
 }
}